package com.peas.platform.module.icims.budget.statistics.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.statistics.adapter.repository.DepartmentPerformancePlanRepository;
import com.peas.platform.module.icims.budget.statistics.adapter.repository.po.DepartmentPerformancePlanPo;
import com.peas.platform.module.icims.budget.statistics.domain.DepartmentPerformancePlanDomain;
import com.peas.platform.module.icims.budget.statistics.dto.DepartmentPerformancePlanDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class DepartmentPerformancePlanDomainImpl extends BaseDomainImpl<DepartmentPerformancePlanDto, DepartmentPerformancePlanPo> implements DepartmentPerformancePlanDomain {

    @Resource
    private DepartmentPerformancePlanRepository departmentPerformancePlanRepository;

    @Override
    public BaseRepository<DepartmentPerformancePlanPo> getMapper() {
        return departmentPerformancePlanRepository;
    }

    @Override
    public Class<? extends BaseRepository<DepartmentPerformancePlanPo>> getRepositoryClass() {
        return DepartmentPerformancePlanRepository.class;
    }

}
